<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ include file="/WEB-INF/jsp/includes.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><tiles:insertAttribute name="title" ignore="true"></tiles:insertAttribute>
</title>
<tiles:importAttribute name="styles" />
    <c:forEach items="${styles}" var="style">
        <link href="<c:url value='${style}' />" rel="stylesheet" type="text/css"/>
    </c:forEach>
</head>
<body>
	<tiles:insertAttribute name="header"></tiles:insertAttribute>
	<tiles:insertAttribute name="sidebar"></tiles:insertAttribute>
	<tiles:insertAttribute name="body"></tiles:insertAttribute>
	<tiles:insertAttribute name="footer"></tiles:insertAttribute>
</body>
<tiles:importAttribute name="scripts" />
<c:forEach items="${scripts}" var="script">
    <script type="text/javascript" src="<c:url value='${script}' />"></script>
</c:forEach>
</html>